'use strict';

const path = require('path');
const root = path.resolve(__dirname, '..');
const base = path.join(root, 'src', 'index.html');
const build = path.join(root, 'dist');

/**
 * Copy html to dist
 *
 * @method html
 */
function html(gulp) {
  return () => gulp.src(base)
  .pipe(gulp.dest(build));
}
module.exports = html;
